<admintpl file="header" />
  <style>
	  .yangshi{
		  width: 80px;
	  }
	  .tijiao{
		  width: 120px;height: 35px; vertical-align:middle;
		  margin-left: 40%;
		  background: red;
		  color: white;
		  border: none;
		  border-radius: 3px;

	  }
  </style>
</head>
<body>
<div class="wrap">
	<ul class="nav nav-tabs">
		<li class=""><a href="{:U('Odds/k3')}">快3赔率</a></li>
		<li class="active"><a href="{:U('Odds/fc3d')}">福彩3D奖金</a></li>
		<li class=""><a href="{:U('Odds/kl8')}">快乐8奖金</a></li>
		<li class=""><a href="{:U('Odds/pk10')}">PK10奖金</a></li>
		<li class=""><a href="{:U('Odds/pl3')}">排列3奖金</a></li>
		<li class=""><a href="{:U('Odds/ssc')}">时时彩奖金</a></li>
		<li class=""><a href="{:U('Odds/syx5')}">11选5奖金</a></li>
	</ul>
   <form class="form" method="post" action="{:U('Odds/fc3d')}">
	   <span>大小单双-二星奖金：<input type="text" name="daxiao" class="yangshi daxiao" value="{$arr.daxiao}"></span>
	   <span style="margin-left: 100px">一星-复式奖金：<input type="text" name="yxfs" class="yangshi yxfs" value="{$arr.yxfs}"></span>
	   <span style="margin-left: 100px">后二-直选奖金：<input type="text" name="hou2zhix" class="yangshi hou2zhix" value="{$arr.hou2zhix}"></span><br/>
	   <span style="margin-left: 30px">后二-组选奖金：<input type="text" name="hou2zux" class="yangshi hou2zux" value="{$arr.hou2zux}"></span>
	   <span style="margin-left: 100px">前二-直选奖金：<input type="text" name="qian2zhix" class="yangshi qian2zhix" value="{$arr.qian2zhix}"></span>
	   <span style="margin-left: 100px">前二-组选奖金：<input type="text" name="qian2zux" class="yangshi qian2zux" value="{$arr.qian2zux}"></span><br/>
	   <span style="margin-left: 30px">三星-直选奖金：<input type="text" name="sxingzhix" class="yangshi sxingzhix" value="{$arr.sxingzhix}"></span>
	   <span style="margin-left: 70px">三星-组选和值奖金：<input type="text" name="sxingzux" class="yangshi sxingzux" value="{$arr.sxingzux}"></span>
	   <span style="margin-left: 105px">三星-组三奖金：<input type="text" name="sxingzu3" class="yangshi sxingzu3" value="{$arr.sxingzu3}"></span><br/>
	   <span style="margin-left: 30px">三星-组六奖金：<input type="text" name="sxingzu6" class="yangshi sxingzu6" value="{$arr.sxingzu6}"></span>
	   <span style="margin-left:72px">三星-混合组选奖金：<input type="text" name="sxinghunhe" class="yangshi sxinghunhe" value="{$arr.sxinghunhe}"></span>
	   <span style="margin-left: 75px">三星-组选包胆奖金：<input type="text" name="sxingbd" class="yangshi sxingbd" value="{$arr.sxingbd}"></span><br/>
	   <span style="margin-left: 5px">三星-组三单式奖金：<input type="text" name="sxingzu3ds" class="yangshi sxingzu3ds" value="{$arr.sxingzu3ds}"></span>
	   <span style="margin-left: 68px">三星-组六单式奖金：<input type="text" name="sxingzu6ds" class="yangshi sxingzu6ds" value="{$arr.sxingzu6ds}"></span>
	   <span style="margin-left: 65px">三星-一码不定位奖金：<input type="text" name="sxingyima" class="yangshi sxingyima" value="{$arr.sxingyima}"></span><br/>
	   <span>三星-二码不定位奖金：<input type="text" name="sxingerma" class="yangshi sxingerma" value="{$arr.sxingerma}"></span><br/><br/><br/><br/>

	   <button type="button" class="tijiao" onclick="sav()" >保存</button>

   </form>
<div class="c-tan-shadow"></div>
<script src="__PUBLIC__/js/common.js"></script>
</div>
</body>
</html>

<script>
	function sav(){
		var daxiao = $(".daxiao").val();
		var yxfs = $(".yxfs").val();
		var hou2zhix = $(".hou2zhix").val();
		var hou2zux = $(".hou2zux").val();
		var qian2zhix = $(".qian2zhix").val();
		var qian2zux = $(".qian2zux").val();
		var sxingzhix = $(".sxingzhix").val();
		var sxingzux = $(".sxingzux").val();
		var sxingzu3 = $(".sxingzu3").val();
		var sxingzu6 = $(".sxingzu6").val();
		var sxinghunhe = $(".sxinghunhe").val();
		var sxingbd = $(".sxingbd").val();
		var sxingzu3ds = $(".sxingzu3ds").val();
		var sxingzu6ds = $(".sxingzu6ds").val();
		var sxingyima = $(".sxingyima").val();
		var sxingerma = $(".sxingerma").val();

		if(daxiao == ""){
			alert("大小单双-二星的奖金不能为空");
			return false;
		}
		if(yxfs == ""){
			alert("一星-复式的奖金不能为空");
			return false;
		}
		if(hou2zhix == ""){
			alert("后二-直选的奖金不能为空");
			return false;
		}
		if(hou2zux == ""){
			alert("后二-组选的奖金不能为空");
			return false;
		}
		if(qian2zhix == ""){
			alert("前二-直选的奖金不能为空");
			return false;
		}
		if(qian2zux == ""){
			alert("前二-组选的奖金不能为空");
			return false;
		}
		if(sxingzhix == ""){
			alert("三星-直选的奖金不能为空");
			return false;
		}
		if(sxingzux == ""){
			alert("三星-组选和值的奖金不能为空");
			return false;
		}
		if(sxingzu3 == ""){
			alert("三星-组三的奖金不能为空");
			return false;
		}
		if(sxingzu6 == ""){
			alert("三星-组六的奖金不能为空");
			return false;
		}
		if(sxinghunhe == ""){
			alert("三星-混合组选的奖金不能为空");
			return false;
		}
		if(sxingbd == ""){
			alert("三星-组选包胆的奖金不能为空");
			return false;
		}
		if(sxingzu3ds == ""){
			alert("三星-组三单式的奖金不能为空");
			return false;
		}
		if(sxingzu6ds == ""){
			alert("三星-组六单式的奖金不能为空");
			return false;
		}
		if(sxingyima == ""){
			alert("三星-一码不定位的奖金不能为空");
			return false;
		}
		if(sxingerma == ""){
			alert("三星-二码不定位的奖金不能为空");
			return false;
		}
     $(".form").submit();
	}
</script>